package com.jt.safe.ui.parent.fragment

import androidx.recyclerview.widget.LinearLayoutManager
import com.jt.safe.R
import com.jt.safe.base.BaseFragment
import com.jt.safe.ui.adpter.MessageNotifyAdapter
import com.jt.safe.viewmodel.NullViewModel
import kotlinx.android.synthetic.main.fragment_message_view_pager.*

class MessageNotifyFragment : BaseFragment<NullViewModel>() {
    val data = mutableListOf<String>("", "", "", "", "", "")

    companion object {
        fun newInstance() = MessageNotifyFragment()
    }

    override val layoutId: Int
        get() = R.layout.fragment_message_view_pager


    override fun initView() {
        val messageNotifyAdapter = MessageNotifyAdapter()
        recycler.layoutManager = LinearLayoutManager(activity)
        recycler.adapter = messageNotifyAdapter
        messageNotifyAdapter.setNewData(data)

    }

    override fun createObserver() {

    }

    override fun initData() {

    }
}
